package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_MED_CHECK database table.
 * 
 */
@Entity
@Table(name="YZR_MED_CHECK")
@NamedQuery(name="YzrMedCheck.findAll", query="SELECT y FROM YzrMedCheck y")
public class YzrMedCheck implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	/*@SequenceGenerator(allocationSize=1,name="YZR_MED_CHECK_MEDCHECKID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_MED_CHECK_MEDCHECKID_GENERATOR")*/
	@Column(name="MED_CHECK_ID")
	private String medCheckId;

	@Column(name="MED_CHECK_PERSON")
	private BigDecimal medCheckPerson;

	@Column(name="MED_CHECK_PURCH_ORDER_ID")
	private String medCheckPurchOrderId;

	@Temporal(TemporalType.DATE)
	@Column(name="MED_CHECK_TIME")
	private Date medCheckTime;

	public YzrMedCheck() {
	}

	public String getMedCheckId() {
		return this.medCheckId;
	}

	public void setMedCheckId(String medCheckId) {
		this.medCheckId = medCheckId;
	}

	public BigDecimal getMedCheckPerson() {
		return this.medCheckPerson;
	}

	public void setMedCheckPerson(BigDecimal medCheckPerson) {
		this.medCheckPerson = medCheckPerson;
	}

	public String getMedCheckPurchOrderId() {
		return this.medCheckPurchOrderId;
	}

	public void setMedCheckPurchOrderId(String medCheckPurchOrderId) {
		this.medCheckPurchOrderId = medCheckPurchOrderId;
	}

	public Date getMedCheckTime() {
		return this.medCheckTime;
	}

	public void setMedCheckTime(Date medCheckTime) {
		this.medCheckTime = medCheckTime;
	}

}